package com.yt.base.dao;

import java.util.List;

import com.yt.base.model.AclGroupOperation;
import com.yt.core.dao.GenericDao;

public interface AclGroupOperationDao extends GenericDao<AclGroupOperation, Long> {

	/**
	 * 查询Group的所有权限
	 * @param groupId
	 * @return
	 */
	List<AclGroupOperation> findByGroup(Long groupId);
	
	int batchInsert(List<AclGroupOperation> opList);
	
	int batchDelete(List<Long> idList);
}
